package cn.com.greatwall.generator.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.com.greatwall.generator.domain.ColumnInfo;

/**
 * @Author herw
 * @Time 2020-11-07 15:47:29
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
public interface ColumnInfoRepository extends JpaRepository<ColumnInfo, Long> {
    /**
     * 查询表信息
     * @param tableName 表格名
     * @return 表信息
     */
    List<ColumnInfo> findByTableNameOrderByIdAsc(String tableName);
}
